
function log(a, b) {
	if (YAHOO.env.ua.ie) {
		return;
	}
	if (typeof b === "undefined") {
		console.log(a);
	} else {
		console.log(a + ":" + b);
	}
}
(function () {
	var c = document, a = {flashUrl:"http://a.tbcdn.cn/app/tbskip/lsoSaver.swf?t=20090630", bridge:null, read:function (d, j, f) {
		if (f === undefined) {
			f = 200;
		}
		if (f === 0) {
			j(null);
		}
		var i = this.bridge, h;
		try {
			h = i.read(d);
			j(h);
		}
		catch (g) {
			setTimeout((function (l, e, m) {
				return function () {
					a.read(l, e, m);
				};
			})(d, j, f - 1), 50);
		}
	}, save:function (d, g, f) {
		if (f === undefined) {
			f = 200;
		}
		var i = this.bridge;
		try {
			i.save(d, g);
		}
		catch (h) {
			setTimeout((function (j, e, l) {
				return function () {
					a.save(j, e, l);
				};
			})(d, g, f - 1), 50);
		}
	}, addFlash:function (g) {
		g = c.getElementById(g) || c.body;
		var f = this.flashUrl, e = c.createElement("div"), h, d = "<div id=\"J_lsoSaver_div\"><object id=\"J_lsoSaver\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\"1\" height=\"1\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab\"><param name=\"movie\" value=\"" + f + "\" /><param name=\"allowScriptAccess\" value=\"always\" /><embed name=\"J_lsoSaver\" src=\"" + f + "\" width=\"1\" height=\"1\" allowScriptAccess=\"always\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/go/getflashplayer\"></embed></object></div>";
		b(e, 0.1);
		g.appendChild(e);
		e.innerHTML = d;
		if (!(h = e.getElementsByTagName("embed")[0])) {
			h = e.getElementsByTagName("object")[0];
		}
		this.bridge = h;
	}, init:function (d) {
		d = d || {};
		this.addFlash(d.contl);
	}};
	function b(d, e) {
		if (!d) {
			return;
		}
		if (undefined === d.style.opacity) {
			d.style.zoom = 1;
			d.style.filter = "alpha(opacity=" + e * 100 + ")";
		} else {
			d.style.opacity = e;
		}
	}
	window.flashStorage = a;
})();
if (!window.TB) {
	window.TB = {};
}
TB.TelCharging = (function () {
	var a9 = YAHOO.util, aJ = a9.Dom, aG = a9.Event, aF = a9.Get, au = a9.Lang, bc = YAHOO.env.ua;
	var aW = "", k = "", Z, ao, am = false, N = "", aS = 0, l = "";
	var bv, bt, bu, be, e, y, bf, aj, bz, bC, a7, t, bD, aa, f, aR, bj, bi, aC, I, Q, bn, aD, aK, ag, aB, V, n, a0, bm, ai, aP, aZ, bx, aL, at, bb, u, aU, d;
	var aT, ar, ay;
	var av = "\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u53f7\u7801", ab = "\u4e24\u6b21\u8f93\u5165\u4e0d\u4e00\u81f4", x = "\u6b63\u5728\u67e5\u8be2\u2026", P = "\u552e&nbsp;&nbsp;&nbsp;\u4ef7\uff1a", a5 = "\u6682&nbsp;&nbsp;&nbsp;\u7f3a\uff1a", ba, af, a4, j, br, aN, K = 12, a6 = 11, i = 3, bq = 26, ah = "default", Y = "tel-method-active", M = "has-history", ae = "tel-num-list", m = "selected", aw = "tel-price-loading", r = /^1\d{10}$/, C = /^1\d{10}$/, bB = /^0\d{8,11}$/, q = "TBTelNumHistory", by, R, g;
	var bA = {"150401":["20780", "20779", "20789"], "150402":["20782", "20781", "20790"], "50011814":["1626918", "1626917", "1626919"]}, bl = {"150401":"\u79fb\u52a8", "150402":"\u8054\u901a", "50011814":"\u7535\u4fe1"}, F = {"150401":[1, 10, 20, 30, 200, 300, 500, 1000], "150402":[1, 10, 20, 30, 133, 200, 300, 500], "50011814":[1, 10, 20, 30, 200, 300, 500, 1000], personnal:[1, 10, 20, 30, 200, 300, 500]}, aq = {"1":"30675", "10":"30676", "20":"30677", "30":"30688", "50":"30678", "100":"30679", "200":"30690", "300":"30691", "500":"30692", "1000":"38182", "\u5176\u5b83\u9762\u503c":"30689"}, bk = {"\u5168\u56fd\u901a\u7528":"30680", "\u5317\u4eac":"29400", "\u5929\u6d25":"29428", "\u5185\u8499\u53e4":"30495", "\u9ed1\u9f99\u6c5f":"30496", "\u5409\u6797":"30497", "\u8fbd\u5b81":"30498", "\u6cb3\u5317":"30499", "\u6cb3\u5357":"30500", "\u5c71\u4e1c":"30501", "\u5c71\u897f":"30502", "\u9655\u897f":"30503", "\u9752\u6d77":"30504", "\u7518\u8083":"30505", "\u65b0\u7586":"30506", "\u897f\u85cf":"27009", "\u5b81\u590f":"30507", "\u91cd\u5e86":"29404", "\u56db\u5ddd":"30508", "\u5b89\u5fbd":"30509", "\u4e0a\u6d77":"29423", "\u6d59\u6c5f":"30510", "\u6c5f\u82cf":"30511", "\u6c5f\u897f":"30512", "\u4e91\u5357":"30515", "\u8d35\u5dde":"30516", "\u6e56\u5317":"30513", "\u6e56\u5357":"30514", "\u5e7f\u4e1c":"30517", "\u5e7f\u897f":"30518", "\u798f\u5efa":"30519", "\u53f0\u6e7e":"27368", "\u9999\u6e2f":"27369", "\u6fb3\u95e8":"29121", "\u6d77\u5357":"30520", "\u5176\u4ed6\u5730\u533a":"30681"}, c = {"150401-auto_ship-10":"[10,12]", "150401-auto_ship-20":"[19.6,23]", "150401-auto_ship-30":"[29.5,32]", "150401-auto_ship-50":"[49.05,50]", "150401-auto_ship-100":"[98.1,100]", "150401-auto_ship-200":"[196.4,200]", "150401-auto_ship-300":"[294.6,300]", "150401-auto_ship-500":"[490,500]", "150401-auto_ship-1000":"[984,1000]", "150401-delegator_fill_72H-1":"[1.2,2]", "150401-delegator_fill_72H-10":"[9.85,12]", "150401-delegator_fill_72H-20":"[19.7,22]", "150401-delegator_fill_72H-30":"[29.55,31]", "150401-delegator_fill_72H-50":"[48,50]", "150401-delegator_fill_72H-100":"[96,100]", "150401-delegator_fill_72H-200":"[192,200]", "150401-delegator_fill_72H-300":"[288,300]", "150401-delegator_fill_72H-500":"[480,500]", "150401-delegator_fill_72H-1000":"[984,1000]", "150401-delegator_fill_10M-1":"[1.2,2]", "150401-delegator_fill_10M-10":"[9.9,12]", "150401-delegator_fill_10M-20":"[20,23]", "150401-delegator_fill_10M-30":"[29.5,32]", "150401-delegator_fill_10M-50":"[49,50]", "150401-delegator_fill_10M-100":"[98,100]", "150401-delegator_fill_10M-200":"[196.4,200]", "150401-delegator_fill_10M-300":"[294.6,300]", "150401-delegator_fill_10M-500":"[490,500]", "150401-delegator_fill_10M-1000":"[984,1000]", "150401-ecard_item-10":"[10,10.6]", "150401-ecard_item-20":"[20,20.8]", "150401-ecard_item-30":"[30.5,30.5]", "150401-ecard_item-50":"[49.7,49.9]", "150401-ecard_item-100":"[99.4,99.5]", "150401-ecard_item-200":"[199.5,199.5]", "150401-ecard_item-300":"[299.3,299.3]", "150401-ecard_item-500":"[498.9,498.9]", "150402-auto_ship-1":"[1.35,2]", "150402-auto_ship-10":"[9.7,12]", "150402-auto_ship-20":"[19.4,23]", "150402-auto_ship-30":"[29.4,32]", "150402-auto_ship-50":"[49.05,50]", "150402-auto_ship-100":"[98.1,100]", "150402-auto_ship-133":"[130,135]", "150402-auto_ship-200":"[196.4,200]", "150402-auto_ship-300":"[294.6,300]", "150402-auto_ship-500":"[490,500]", "150402-auto_ship-1000":"[984,1000]", "150402-delegator_fill_10M-1":"[1.2,2]", "150402-delegator_fill_10M-10":"[9.7,12]", "150402-delegator_fill_10M-20":"[19.4,23]", "150402-delegator_fill_10M-30":"[29.4,32]", "150402-delegator_fill_10M-50":"[49]", "150402-delegator_fill_10M-100":"[98]", "150402-delegator_fill_10M-133":"[130,135]", "150402-delegator_fill_10M-200":"[196.4,200]", "150402-delegator_fill_10M-300":"[294.6,300]", "150402-delegator_fill_10M-500":"[490,500]", "150402-delegator_fill_10M-1000":"[984,1000]", "150402-delegator_fill_72H-1":"[1.2,2]", "150402-delegator_fill_72H-10":"[9.6,13]", "150402-delegator_fill_72H-20":"[19.2,22]", "150402-delegator_fill_72H-30":"[29,31]", "150402-delegator_fill_72H-50":"[47.75,50]", "150402-delegator_fill_72H-100":"[95.5,100]", "150402-delegator_fill_72H-133":"[128,135]", "150402-delegator_fill_72H-200":"[191,200]", "150402-delegator_fill_72H-300":"[287,300]", "150402-delegator_fill_72H-500":"[479,500]", "150402-delegator_fill_72H-1000":"[984,1000]", "150402-ecard_item-20":"[20,21.5]", "150402-ecard_item-30":"[30,31.5]", "150402-ecard_item-50":"[49.15,49.6]", "150402-ecard_item-100":"[99.1,99.6]", "150402-ecard_item-200":"[199,199]", "50011814-auto_ship-10":"[10,12]", "50011814-auto_ship-20":"[19.6,23]", "50011814-auto_ship-30":"[29.5,32]", "50011814-auto_ship-50":"[49.05,50]", "50011814-auto_ship-100":"[98.1,100]", "50011814-auto_ship-200":"[196.4,200]", "50011814-auto_ship-300":"[294.6,300]", "50011814-auto_ship-500":"[490,500]", "50011814-auto_ship-1000":"[984,1000]", "50011814-delegator_fill_72H-1":"[1.2,2]", "50011814-delegator_fill_72H-10":"[9.85,12]", "50011814-delegator_fill_72H-20":"[19.7,22]", "50011814-delegator_fill_72H-30":"[29.55,31]", "50011814-delegator_fill_72H-50":"[48,50]", "50011814-delegator_fill_72H-100":"[96,100]", "50011814-delegator_fill_72H-200":"[192,200]", "50011814-delegator_fill_72H-300":"[288,300]", "50011814-delegator_fill_72H-500":"[480,500]", "50011814-delegator_fill_72H-1000":"[984,1000]", "50011814-delegator_fill_10M-1":"[1.2,2]", "50011814-delegator_fill_10M-10":"[9.9,12]", "50011814-delegator_fill_10M-20":"[20,23]", "50011814-delegator_fill_10M-30":"[29.5,32]", "50011814-delegator_fill_10M-50":"[49,50]", "50011814-delegator_fill_10M-100":"[98,100]", "50011814-delegator_fill_10M-200":"[196.4,200]", "50011814-delegator_fill_10M-300":"[294.6,300]", "50011814-delegator_fill_10M-500":"[490,500]", "50011814-delegator_fill_10M-1000":"[984,1000]", "50011814-ecard_item-20":"[19.84,19.96]", "50011814-ecard_item-30":"[29.58,29.76]", "50011814-ecard_item-50":"[49.3,49.8]", "50011814-ecard_item-100":"[98,99.6]", "common-ecard_item-1":"[0.98,1.5]", "common-ecard_item-10":"[10,10.6]", "common-ecard_item-20":"[19.84,20.8]", "common-ecard_item-30":"[29.58,31.5]", "common-ecard_item-50":"[49.3,49.9]", "common-ecard_item-100":"[98,99.6]", "common-ecard_item-133":"[130.3,131.6]", "common-ecard_item-200":"[199,199.5]", "common-ecard_item-300":"[299,299.3]", "common-ecard_item-500":"[498,498.9]", "common-ecard_item-1000":"[980,990]", "common-delegator_fill-1":"[0.98,1.5]", "common-delegator_fill-10":"[9.8,9.9]", "common-delegator_fill-20":"[19.6,20]", "common-delegator_fill-30":"[29.4,30]", "common-delegator_fill-50":"[49,49.8]", "common-delegator_fill-100":"[98,99.5]", "common-delegator_fill-133":"[130.3,131.6]", "common-delegator_fill-200":"[196,199]", "common-delegator_fill-300":"[294,299]", "common-delegator_fill-500":"[490,498]", "common-delegator_fill-1000":"[980,990]", "common-auto_post-1":"[0.98,1.5]", "common-auto_post-10":"[9.81,9.9]", "common-auto_post-20":"[19.62,21]", "common-auto_post-30":"[29.43,30]", "common-auto_post-50":"[49.05,49.8]", "common-auto_post-100":"[98.1,99.5]", "common-auto_post-133":"[130.3,131.6]", "common-auto_post-200":"[196.2,199]", "common-auto_post-300":"[294.3,299]", "common-auto_post-500":"[490.5,498]", "common-auto_post-1000":"[981,990]"};
	function aA() {
		return bu.value;
	}
	function p(D) {
		bu.value = D;
	}
	function a3() {
		return aj.value;
	}
	function aY(D) {
		aj.value = D;
	}
	function a8() {
		return ao;
	}
	function aQ(D) {
		ao = D;
	}
	function z() {
		return Z;
	}
	function s(D) {
		Z = D;
	}
	function bg() {
		return k;
	}
	function w(D) {
		k = D;
	}
	function ad() {
		return aW;
	}
	function b(D) {
		aW = D;
	}
	function bp() {
		return N;
	}
	function bs(D) {
		N = D;
	}
	function J() {
		return N.length / 2;
	}
	function bh() {
		this.strings = [];
	}
	bh.prototype.append = function (D) {
		this.strings.push(D);
	};
	bh.prototype.toString = function () {
		return this.strings.join("");
	};
	function h(D) {
		if (aJ.getStyle(D, "display") === "none") {
			aJ.setStyle(D, "display", "block");
		}
	}
	function aM(D) {
		if (aJ.getStyle(D, "display") !== "none") {
			aJ.setStyle(D, "display", "none");
		}
	}
	function al(D) {
		aJ.setStyle(D, "display", "none");
	}
	function an(D) {
		return aJ.getStyle(D, "display") === "none";
	}
	function bo() {
		return bu.value.charAt(0) === "0" ? true : false;
	}
	function B(D) {
		D.checked = true;
	}
	function az(D) {
		D.checked = false;
	}
	function W(D) {
		return D.checked;
	}
	function aI(D, E) {
		if (au.isUndefined(E)) {
			return D.innerHTML;
		} else {
			D.innerHTML = E;
		}
	}
	function aH(E, G) {
		var D = function () {
			if (G === 0) {
				return;
			}
			if (G % 2 === 1) {
				h(E);
			} else {
				aM(E);
			}
			G--;
			setTimeout(D, 100);
		};
		D();
	}
	function A(G, bE) {
		for (var E = 0, D = bE.length; E < D; E++) {
			var bF = bE[E];
			if (bF !== G && !an(bF)) {
				aM(bF);
			} else {
				if (bF === G && an(bF)) {
					h(bF);
				}
			}
		}
	}
	function S(E, D) {
		try {
			al(D);
			h(E);
			al(R);
			aJ.addClass(aj, ah);
			aY(aN);
		}
		catch (G) {
		}
	}
	function O(E) {
		var D = E.value.length;
		E.setSelectionRange(0, D);
	}
	function a(G) {
		var D = G.value.length;
		var E = G.createTextRange();
		E.collapse(true);
		E.moveStart("character", 0);
		E.moveEnd("character", D);
		E.select();
	}
	function aE(D) {
		if (D.charAt(0) === "0" && bu.maxLength !== K) {
			bu.maxLength = K;
			aj.maxLength = K;
		} else {
			if (D.charAt(0) !== "0" && bu.maxLength !== a6) {
				bu.maxLength = a6;
				aj.maxLength = a6;
			}
		}
	}
	function X() {
		var D = aU.value;
		return !au.isNull(D) && !au.isUndefined(D) && D !== "" && D !== "\u6682\u7f3a";
	}
	function T(D) {
		return D.match(r) || D.match(C) || D.match(bB);
	}
	function U() {
		var E = bn;
		for (var G = 0, D = E.length; G < D; G++) {
			if (E[G].innerHTML.indexOf("\u7535\u4fe1") < 0 && E[G].innerHTML.indexOf("\u9009\u62e9") < 0) {
				E[G].disabled = true;
			}
		}
	}
	function aV(E, bE) {
		for (var G = 0, D = E.length; G < D; G++) {
			E[G].disabled = false;
		}
		E[0].selected = true;
		bE.call(null, "");
	}
	function a1(E, bF, bG) {
		for (var G = 0, D = E.length; G < D; G++) {
			var bE = E[G];
			if (aI(bE) === bF) {
				bE.selected = true;
				bG.call(null, bE.value);
			}
		}
	}
	function v() {
		var E = aW, D = ai, bI = D.value, bH = F[E];
		if (!bH) {
			return;
		}
		var bF = D.length - 1, G = bH.length;
		D.value = "";
		for (var bG = 0; bG < G; bG++) {
			D.options[bG] = new Option(bH[bG] + "\u5143", bH[bG]);
			if (bH[bG].toString() === bI) {
				D.value = bI;
			}
		}
		if (bF > G) {
			for (var bE = G; bE < bF; bE++) {
				D.option[bE] = null;
			}
		}
		o();
	}
	function aX(D) {
		aF.script(ba + D, {onSuccess:function () {
			var E = __GetZoneResult_;
			if (!E) {
				return;
			}
			if (E.isptype && E.isptype.indexOf("\u7535\u4fe1") >= 0) {
				E.isptype = "\u7535\u4fe1";
			} else {
				if (E.isptype && E.isptype.indexOf("\u79fb\u52a8") >= 0) {
					E.isptype = "\u79fb\u52a8";
				} else {
					if (E.isptype && E.isptype.indexOf("\u8054\u901a") >= 0) {
						E.isptype = "\u8054\u901a";
					}
				}
			}
			aT.value = E.provincename, ar.value = E.isptype, ay.value = D;
			if (bo()) {
				U();
				if (E.provincename) {
					a1(I, E.provincename, w);
				} else {
					aV(I, w);
				}
				a1(bn, "\u7535\u4fe1/CDMA", b);
				A(bC, R);
				aG.on(aJ.get("J_TelBtnSelectInfoCfm"), "click", function () {
					S(bi, g);
					o();
				});
			} else {
				if (E.mts) {
					aI(aR, E.provincename + E.isptype);
					A(f, R);
					a1(I, E.provincename, w);
					if (E.isptype === "\u7535\u4fe1") {
						a1(bn, "\u7535\u4fe1/CDMA", b);
					} else {
						a1(bn, E.catName, b);
					}
					o();
				} else {
					A(bC, R);
					aG.on(aJ.get("J_TelBtnSelectInfoCfm"), "click", function () {
						S(bi, g);
						o();
					});
					aV(I, w);
					aV(bn, b);
				}
			}
		}, charset:document.charset || document.characterSet});
	}
	function ap(E) {
		var bG = bp(), bF = bG[bG.indexOf(E) + 1], G = bF.length, D = bF.substring(0, G - 2), bE = bF.substring(G - 2);
		aI(bD, bF);
		A(t, by);
		if (bo()) {
			U();
			a1(I, D, w);
			a1(bn, "\u7535\u4fe1/CDMA", b);
		} else {
			a1(I, D, w);
			if (bE === "\u7535\u4fe1") {
				a1(bn, "\u7535\u4fe1/CDMA", b);
			} else {
				a1(bn, bE, b);
			}
		}
		o();
	}
	function o() {
		if (bg() && ad()) {
			a2();
		} else {
			bd();
		}
	}
	function ac() {
		var E = ad(), bG = a8(), bF = bA[E], D = bF[1] + ":" + aq[bG] + ";" + bF[0] + ":" + bk[k];
		var G = new bh();
		G.append("cat=" + E);
		G.append("&ar=20");
		G.append("&commend=all");
		G.append("&sort=price");
		G.append("&reserve_price=" + bG + "\u5143");
		var bE = z();
		if (bE === "0") {
			G.append("&options=1099511627776");
			G.append("&search_type=ecard_auction");
		} else {
			if (bE === "1") {
				G.append("&shippedType=\u5356\u5bb6\u4ee3\u5145");
				G.append("&search_type=mobile_card");
				G.append("&atype=b");
				if (E === "150401") {
					D = D + ";" + bF[2] + ":" + 84923;
				} else {
					D = D + ";" + bF[2] + ":" + 90682;
				}
				G.append("&filter=reserve_price");
				G.append(c[E + "-delegator_fill_10M-" + bG]);
			} else {
				if (bE === "2") {
					G.append("&search_type=mobile_card");
					G.append("&atype=b");
					G.append("&auto_post=1");
					G.append("&shippedType=\u81ea\u52a8\u53d1\u8d27");
					G.append("&filter=reserve_price");
					G.append(c[E + "-auto_ship-" + bG]);
				}
			}
		}
		G.append("&pidvid=" + D);
		G.append("&randomJs=" + new Date().getTime() + ".js");
		return af + G.toString();
	}
	function a2() {
		aJ.addClass(bx, aw);
		aI(bx, x);
		aU.value = "";
		aF.script(ac(), {onSuccess:function () {
			var D = __GetZoneResult_;
			if (au.isNumber(D.price)) {
				aJ.removeClass(bx, aw);
				aI(aZ, P);
				aI(bx, D.price + "\u5143");
				aU.value = au.trim(D.item_id_num);
			} else {
				ax();
				aU.value = D.item_id_num;
			}
		}, onFailure:function () {
			ax();
		}, onTimeout:function () {
			ax();
		}, charset:document.charset || document.characterSet, timeout:10000});
	}
	function ax() {
		var E = new bh();
		E.append("<a href=\"" + a4);
		var bE = a8(), D = ad(), G = bA[D];
		E.append("cat=" + D);
		E.append("&prop=&atype=b&commend=all&sort=bid&olu=yes");
		E.append("\" target=\"_blank\">\u70b9\u6b64\u641c\u7d22</a>");
		aJ.removeClass(bx, aw);
		aI(aZ, a5);
		aI(bx, E.toString());
	}
	function bd() {
		aU.value = "";
		var E, bG = a8();
		var bF = z();
		if (bF === "0") {
			E = c["common-ecard_item-" + bG];
		} else {
			if (bF === "1") {
				E = c["common-delegator_fill-" + bG];
			} else {
				if (bF === "2") {
					E = c["common-auto_post-" + bG];
				}
			}
		}
		if (E) {
			var bE = E.indexOf(","), G = E.substring(1, bE), D = E.substring(bE + 1, E.length - 1);
			aI(bx, E.substring(1, bE) + "\u5143-" + D + "\u5143");
		}
	}
	function L() {
		a7.read(q, function (D) {
			if (D) {
				aO(D);
			} else {
				bw();
			}
		}, 10);
	}
	function aO(bI) {
		aJ.addClass(bt, M);
		var bH = bI.split(","), bF = bH.length / 2, bE = bH[bF * 2 - 2];
		bs(bH);
		p(bE);
		if (bo()) {
			l = aA();
		}
		var bG = document.createElement("ul");
		aJ.addClass(bG, ae);
		var G = "";
		if (bc.ie === 6) {
			G += "<iframe scrolling=\"no\" frameborder=\"0\" style=\"width:100%;height:";
			G += bF * bq + "px;position:absolute;margin-left:14px;\"></iframe>";
		}
		if (bF === 1) {
			G += "<li><a class=\"tel-delete-icon\" href=\"#\"></a><a class=\"tel-history-num first last\" href=\"#\">";
			G += bH[0] + "</a></li>";
		} else {
			for (var E = bF - 1; E >= 0; E--) {
				G += "<li><a class=\"tel-delete-icon\" href=\"#\"></a>";
				if (E === bF - 1) {
					G += "<a class=\"tel-history-num first\" href=\"#\">";
				} else {
					if (E === 0) {
						G += "<a class=\"tel-history-num last\" href=\"#\">";
					} else {
						G += "<a class=\"tel-history-num\" href=\"#\">";
					}
				}
				G += bH[E * 2] + "</a></li>";
			}
		}
		bG.innerHTML = G;
		document.body.appendChild(bG);
		if (d) {
			aJ.setStyle(bG, "left", "45px");
			aJ.setStyle(bG, "top", "24px");
		} else {
			aJ.setStyle(bG, "left", "145px");
			aJ.setStyle(bG, "top", "47px");
		}
		var bK = aJ.getElementsBy(function (bL) {
			return aJ.hasClass(bL, "tel-history-num");
		}, "a", bG);
		var bJ = aJ.getElementsBy(function (bL) {
			return aJ.hasClass(bL, "tel-delete-icon");
		}, "a", bG);
		var D = true;
		aG.on(be, "mouseover", function () {
			D = true;
			al(bJ);
			aJ.removeClass(bK, "hover-delete");
			setTimeout(function () {
				h(bG);
			}, 200);
		});
		aG.on(be, "mouseout", function () {
			D = true;
			setTimeout(function () {
				if (D) {
					aM(bG);
				}
			}, 200);
		});
		aG.on(bK, "click", function (bM) {
			aG.preventDefault(bM);
			var bL = aI(this);
			aE(bL);
			p(bL);
			ap(bL);
			al(g);
			if (d && aJ.hasClass(aL, "without-ad")) {
				aJ.replaceClass(aL, "without-ad", "with-ad");
			}
			aM(bG);
		});
		aG.on(be, "click", function (bL) {
			aG.preventDefault(bL);
		});
		aG.on(bK, "mouseover", function () {
			h(bG);
			D = false;
			var bL = aJ.getPreviousSibling(this);
			al(bJ);
			h(bL);
			aJ.removeClass(bK, "hover-delete");
			aG.on(bL, "mouseover", function () {
				h(bG);
				D = false;
				aJ.removeClass(bK, "hover-delete");
				var bM = aJ.getNextSibling(this);
				aJ.addClass(bM, "hover-delete");
			});
			aG.on(bL, "mouseout", function () {
				D = true;
				setTimeout(function () {
					if (D) {
						aM(bG);
					}
				}, 200);
			});
			aG.on(bL, "click", function (bR) {
				aG.preventDefault(bR);
				if (bc.ie && an(aG.getTarget(bR).parentNode)) {
					return;
				}
				var bO = aI(aJ.getNextSibling(this));
				if (J() > 0) {
					if (J() === 1) {
						aJ.removeClass(bt, M);
						aJ.addClass(bu, ah);
						al(by);
						p(br);
						bd();
					} else {
						if (bO === aA()) {
							var bQ = bp();
							for (var bN = J() - 1; bN >= 0; bN--) {
								var bM = bQ[bN * 2];
								if (bM !== bO) {
									p(bM);
									ap(bM);
									break;
								}
							}
						}
					}
					H(bO);
					var bS = this.parentNode;
					var bP = aJ.getNextSibling(this);
					aM(bS);
					if (aJ.hasClass(bP, "first")) {
						aJ.addClass(aJ.getElementsByClassName("tel-history-num", "a", aJ.getNextSiblingBy(bS, function (bT) {
							return !an(bT);
						}))[0], "first");
					} else {
						if (aJ.hasClass(bP, "last")) {
							aJ.addClass(aJ.getElementsByClassName("tel-history-num", "a", aJ.getPreviousSiblingBy(bS, function (bT) {
								return !an(bT);
							}))[0], "last");
						}
					}
					setTimeout(function () {
						if (!an(bG)) {
							aM(bG);
						}
					}, 2000);
					aG.removeListener(this, "click");
				}
			});
			aG.on(bK, "mouseout", function () {
				D = true;
				setTimeout(function () {
					if (D) {
						aM(bG);
					}
				}, 200);
			});
		});
		setTimeout(function () {
			for (var bN = 0, bL = a0.length; bN < bL; bN++) {
				var bM = a0[bN];
				if (W(bM)) {
					aJ.addClass(aJ.getNextSibling(bM), m);
					if (bM.value === "-1") {
						aQ(ai.value);
					} else {
						aQ(bM.value);
					}
					break;
				}
			}
			s("0");
			ap(bE);
		}, 0);
	}
	function ak(D) {
		var E = bp();
		if (E) {
			if (E.indexOf(D) !== -1) {
				E.splice(E.indexOf(D), 2);
			} else {
				if (E.length === i * 2) {
					E.shift();
					E.shift();
				}
			}
			E.push(D);
			E.push(bg() + bl[ad()]);
			a7.save(q, E.toString());
		} else {
			a7.save(q, D + "," + bg() + bl[ad()]);
		}
	}
	function H(D) {
		var E = bp();
		if (E) {
			if (E.indexOf(D) != -1) {
				E.splice(E.indexOf(D), 2);
				bs(E);
				a7.save(q, E.toString());
			}
		}
	}
	function bw() {
		aJ.addClass([bu, aj], ah);
		I[0].selected = true;
		bn[0].selected = true;
		setTimeout(function () {
			for (var G = 0, D = a0.length; G < D; G++) {
				var E = a0[G];
				if (W(E)) {
					aJ.addClass(aJ.getNextSibling(E), m);
					if (E.value === "-1") {
						aQ(ai.value);
					} else {
						aQ(E.value);
					}
					break;
				}
			}
			s("0");
			bd();
		}, 0);
	}
	return {init:function (bE) {
		if (!bE) {
			return;
		}
		bv = aJ.get("J_TelForm");
		bt = aJ.get("J_TelInputBox");
		bu = aJ.get("J_TelInput");
		be = aJ.get("J_TelInputIcon");
		e = aJ.get("J_TelInputMsg");
		y = aJ.get("J_TelInputCfmPanel");
		bf = aJ.get("J_TelInputCfmBox");
		aj = aJ.get("J_TelInputCfm");
		bz = aJ.get("J_TelInputCfmMsg");
		bC = aJ.get("J_TelBtnSelectInfoCfm");
		a7 = window.flashStorage;
		t = aJ.get("J_TelInfoBox");
		bD = aJ.get("J_TelInfo");
		aa = aJ.get("J_TelInfoChange");
		f = aJ.get("J_TelInfoCfmBox");
		aR = aJ.get("J_TelInfoCfm");
		bj = aJ.get("J_TelInfoCfmChange");
		bi = aJ.get("J_TelInfoSelectPanel");
		aC = aJ.get("J_TelZone");
		I = aC.getElementsByTagName("option");
		Q = aJ.get("J_TelISP");
		bn = Q.getElementsByTagName("option");
		aK = aJ.get("J_TelMethodPanel");
		ag = aJ.get("J_TelMethod");
		aB = ag.getElementsByTagName("input");
		V = aJ.get("J_TelMethodMore");
		n = aJ.get("J_TelDenomination");
		a0 = n.getElementsByTagName("input");
		bm = aJ.get("J_DenominationElse");
		ai = n.getElementsByTagName("select")[0];
		aP = ai.getElementsByTagName("option");
		aZ = aJ.get("J_TelPriceLabel");
		bx = aJ.get("J_TelPrice");
		aL = aJ.get("J_TelBuyPanel");
		at = aJ.get("J_TelSubmitBtn");
		bb = aJ.get("J_TelAdLink");
		u = bv.action;
		aU = bv.item_id_num;
		br = bu.value;
		aN = aj.value;
		aI(e, av);
		aI(bz, ab);
		by = [e, t];
		R = [bz, bC, f];
		g = [y, bi];
		d = bE.lite;
		ba = bE.url_zone_isp, af = bE.url_price, a4 = bE.url_search, j = bE.url_bury;
		function G(bH) {
			var bI = document.createElement("img");
			if (bH == 1) {
				bI.src = bE.url_tloadAt1;
			} else {
				bI.src = bE.url_tloadAt2;
			}
			return true;
		}
		function bF(bH) {
			var bI = document.createElement("img");
			if (bH) {
				bI.src = bE.url_nloadAt;
				+(Math.floor(Math.random() * 99999) + 1) + "&xfzhyj=" + bH;
			}
			return true;
		}
		aT = aJ.get("suoshu"), ar = aJ.get("type"), ay = aJ.get("telString");
		al(by);
		al(R);
		al(R);
		aJ.addClass(aj, ah);
		aY(aN);
		if (a7) {
			a7.init();
		}
		L();
		aG.on(bu, "focus", function () {
			bF("chzh_shychzhzhx05");
			if (this.value === br) {
				this.value = "";
				aJ.removeClass(this, ah);
			} else {
				var bH = this.id;
				if (bc.ie) {
					var bI = this;
					setTimeout(function () {
						a(bI);
					}, 100);
				} else {
					setTimeout(O, 100, this);
				}
			}
			if (aJ.hasClass(aL, "with-ad") && !aJ.hasClass(bt, M)) {
				S(y, g);
				if (d) {
					aJ.replaceClass(aL, "with-ad", "without-ad");
				}
			}
		});
		aG.on(bu, "blur", function () {
			var bH = this.value;
			if (bH === "") {
				p(br);
				aJ.addClass(this, ah);
				al(by);
			} else {
				if (!T(bH)) {
					A(e, by);
				}
			}
			if (bo()) {
				l = aA();
			}
		});
		aG.on(bu, "keyup", function () {
			var bH = this.value;
			if (bH.match(/[^0-9]/g)) {
				this.value = bH.replace(/[^0-9]/g, "");
			}
			bH = this.value;
			aE(bH);
			if (T(bH)) {
				aM(e);
			}
			if (!an(bi)) {
				S(y, g);
			} else {
				if (!an(t)) {
					aM(t);
					S(y, g);
					if (d) {
						aJ.replaceClass(aL, "with-ad", "without-ad");
					}
				} else {
					if (!an(y) && a3() !== aN) {
						al(R);
						aJ.addClass(aj, ah);
						aY(aN);
					}
				}
			}
		});
		aG.on(aj, "focus", function () {
			if (this.value === aN) {
				this.value = "";
				aJ.removeClass(this, ah);
			} else {
				var bH = this.id;
				if (bc.ie) {
					var bI = this;
					setTimeout(function () {
						a(bI);
					}, 100);
				} else {
					setTimeout(O, 100, this);
				}
			}
		});
		aG.on(aj, "blur", function () {
			if (this.value === "") {
				aY(aN);
				aJ.addClass(this, ah);
				al(R);
			} else {
				if (this.value !== aA()) {
					A(bz, R);
				}
			}
		});
		aG.on(aj, "keyup", function () {
			var bI = this.value, bH;
			if (bI.match(/[^0-9]/g)) {
				this.value = bI.replace(/[^0-9]/g, "");
			}
			bI = this.value;
			bH = aA();
			if (T(bH) && T(bI)) {
				if (bI === bH) {
					al(R);
					aX(bI);
				} else {
					if (bI.length >= bH.length) {
						A(bz, R);
					}
				}
			}
		});
		aG.on([bu, aj], "keydown", function (bH) {
			if (bH.ctrlKey && bH.keyCode === 86) {
				aG.preventDefault(bH);
			}
		});
		aG.on([bu, aj], "contextmenu", function (bH) {
			aG.stopEvent(bH);
		});
		aG.on(aa, "click", function (bH) {
			aG.stopEvent(bH);
			aM(t);
			S(bi, g);
			if (d && aJ.hasClass(aL, "with-ad")) {
				aJ.replaceClass(aL, "with-ad", "without-ad");
			}
		});
		aG.on(bj, "click", function (bH) {
			aG.stopEvent(bH);
			aM(f);
			S(bi, g);
			bF("chzh_shychzhzhx06");
		});
		aG.on(aC, "change", function () {
			w(this.value);
			if (this.selectedIndex !== 0) {
				o();
			} else {
				bd();
			}
		});
		aG.on(Q, "change", function () {
			b(this.value);
			if (this.selectedIndex !== 0) {
				o();
				v();
			} else {
				bd();
			}
		});
		if (!bc.ie) {
			aG.on(a0, "change", function () {
				var bL = a0;
				for (var bK = 0, bH = bL.length; bK < bH; bK++) {
					var bJ = bL[bK], bI = aJ.getNextSibling(bJ);
					if (bJ === this) {
						aJ.addClass(bI, m);
					} else {
						if (aJ.hasClass(bI, m)) {
							aJ.removeClass(bI, m);
						}
					}
				}
				if (this.value !== "-1") {
					aQ(this.value);
				} else {
					aQ(ai.value);
				}
				o();
			});
		} else {
			aG.on(a0, "focus", function () {
				var bL = a0;
				for (var bK = 0, bH = bL.length; bK < bH; bK++) {
					var bJ = bL[bK], bI = aJ.getNextSibling(bJ);
					if (bJ === this) {
						aJ.addClass(bI, m);
					} else {
						if (aJ.hasClass(bI, m)) {
							aJ.removeClass(bI, m);
						}
					}
				}
				if (this.value !== "-1") {
					aQ(this.value);
				} else {
					aQ(ai.value);
				}
				o();
			});
		}
		aG.on(ai, "change", function () {
			var bL = a0, bI = bL.length, bH = bm;
			if (!W(bH)) {
				for (var bK = 0; bK < bI; bK++) {
					var bJ = bL[bK];
					if (W(bJ)) {
						az(bJ);
						aJ.removeClass(aJ.getNextSibling(bJ), m);
					} else {
						if (bJ === bH) {
							B(bJ);
							aJ.addClass(aJ.getNextSibling(bJ), m);
						}
					}
				}
			}
			aQ(this.value);
			o();
		});
		if (aJ.getStyle(aK, "display") !== "none") {
			aG.on(V, "click", function (bH) {
				aG.preventDefault(bH);
				aJ.addClass(aK, Y);
			});
			if (!bc.ie) {
				aG.on(aB, "change", function () {
					s(this.value);
					o();
				});
			} else {
				aG.on(aB, "focus", function () {
					s(this.value);
					o();
				});
			}
		}
		var E = bE.var_act, bG = bE.var_hasLogin, D = bE.var_roper;
		aG.on(bv, "submit", function (bP) {
			var bN = aA(), bK = a3(), bR = false;
			var bS = encodeURIComponent(encodeURIComponent(aT.value)), bJ = encodeURIComponent(encodeURIComponent(ar.value));
			var bQ = encodeURIComponent(encodeURIComponent(bg()));
			var bO = ad();
			var bM = new bh();
			bM.append("telString=" + ay.value);
			bM.append("&start_suoshu=" + bS);
			bM.append("&start_type=" + bJ);
			bM.append("&now_suoshu=" + bQ);
			bM.append("&now_type=" + bO);
			var bI = j + bM.toString();
			aF.script(bI, {onSuccess:function () {
			}, onFailure:function (bT) {
			}, charset:document.charset || document.characterSet});
			if (!T(bN)) {
				A(e, by);
				bR = true;
			} else {
				if (!an(y) && bN !== bK) {
					A(bz, R);
					bR = true;
				} else {
					if (!an(bC)) {
						aH(bC, 7);
						bR = true;
					} else {
						if (!X()) {
							bR = true;
						} else {
							var bH = z();
							if (bH === "0") {
								u.name = "action";
							} else {
								u.name = "noaction";
							}
							ak(bN);
							G(1);
							bF("chzh_shychzhzhx10");
						}
					}
				}
			}
			if (bR) {
				aG.preventDefault(bP);
			}
			if (bc.webkit) {
				var bL = aJ.getAttribute(bv, "action");
				if (bL.indexOf("?") === -1) {
					aJ.setAttribute(bv, "action", bL + "?t=" + Date.parse(new Date()));
				} else {
					bL = bL.substring(0, bL.indexOf("?"));
					aJ.setAttribute(bv, "action", bL + "?t=" + Date.parse(new Date()));
				}
			}
		});
		aG.on(aJ.get("J_Denomination100"), "click", function () {
			bF("chzh_shychzhzhx07");
		});
		aG.on(aJ.get("J_Denomination50"), "click", function () {
			bF("chzh_shychzhzhx08");
		});
		aG.on(aJ.get("J_DenominationElse"), "click", function () {
			bF("chzh_shychzhzhx09");
		});
		aG.on(aJ.get("J_DenominationSelect"), "click", function () {
			bF("chzh_shychzhzhx09");
		});
	}};
})();

